<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>微信测试</title>
</head>
<body>
<button id="scan" type="button">扫二维码</button>
<h1>扫描结果:</h1>
<p id="result">

</p>
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
<script src="http://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
<script src="/static/wx/wx.js"></script>

</body>
</html>